﻿using System;

namespace CMS.ORM.Model
{
    /// <summary>
    /// 实体类News 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class News
    {
        public News()
        { }
        #region Model
        private decimal _id;
        private string _title;
        private DateTime? _date;
        private string _department;
        private string _holder;
        private string _holderrole;
        private int _labelamount;
        private int _tagamount;
        private int _voteamount;
        private int _publishamount;
        private int _pageamount;
        private int _currentnode;
        private int _currentworkflow;
        /// <summary>
        /// 新闻ID
        /// </summary>
        public decimal id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 新闻标题
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 新闻日期
        /// </summary>
        public DateTime? date
        {
            set { _date = value; }
            get { return _date; }
        }
        /// <summary>
        /// 新闻所属栏目
        /// </summary>
        public string department
        {
            set { _department = value; }
            get { return _department; }
        }
        /// <summary>
        /// 新闻所有者
        /// </summary>
        public string holder
        {
            set { _holder = value; }
            get { return _holder; }
        }
        /// <summary>
        /// 新闻所有者角色
        /// </summary>
        public string holderRole
        {
            set { _holderrole = value; }
            get { return _holderrole; }
        }
        /// <summary>
        /// 标签总数
        /// </summary>
        public int labelAmount
        {
            set { _labelamount = value; }
            get { return _labelamount; }
        }
        /// <summary>
        /// 关键字总数
        /// </summary>
        public int tagAmount
        {
            set { _tagamount = value; }
            get { return _tagamount; }
        }
        /// <summary>
        /// 投票总数
        /// </summary>
        public int voteAmount
        {
            set { _voteamount = value; }
            get { return _voteamount; }
        }
        /// <summary>
        /// 发布总数
        /// </summary>
        public int publishAmount
        {
            set { _publishamount = value; }
            get { return _publishamount; }
        }
        /// <summary>
        /// 页面总数
        /// </summary>
        public int pageAmount
        {
            set { _pageamount = value; }
            get { return _pageamount; }
        }
        /// <summary>
        /// 当前节点
        /// </summary>
        public int currentNode
        {
            set { _currentnode = value; }
            get { return _currentnode; }
        }
        /// <summary>
        /// 当前节点流
        /// </summary>
        public int currentWorkflow
        {
            set { _currentworkflow = value; }
            get { return _currentworkflow; }
        }
        #endregion Model

    }
}

